package linked;

public class Node<T> implements Cloneable{
    public int data;
    public Node<T> next;
    public Node<T> prev;

    public Node() {
    }

    public Node(int data) {
        this.data = data;

    }

    @Override
    public Node clone() throws CloneNotSupportedException {
        return (Node) super.clone();
    }
}
